package com.naizhuai.ui.entity.mainbusiness;

import com.google.gson.Gson;

import java.io.Serializable;
import java.util.List;

/**
 * 目标详情复盘的页面bean
 * Created by code_han on 2018/4/11.
 */

public class TargetReplaySubmitBean implements Serializable {

    public static final String COMPANY_ID_KEY="companyId";
    public static final String ACHIEVEMENT_KEY="achievement";
    public static final String GOAL_ID_KEY="goalId";
    public static final String SCORE_KEY="scoreStr";

    private String companyId;
    //评价
    private String achievement;
    private String goalId;
    //任务评分的集合
    private List<TaskScoreBean> scoreStr;

    public TargetReplaySubmitBean() {
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getAchievement() {
        return achievement;
    }

    public void setAchievement(String achievement) {
        this.achievement = achievement;
    }

    public String getGoalId() {
        return goalId;
    }

    public void setGoalId(String goalId) {
        this.goalId = goalId;
    }

    public String getScoreStr() {
        Gson gson=new Gson();
        return gson.toJson(scoreStr);
    }

    public void setScoreStr(List<TaskScoreBean> scoreStr) {
        this.scoreStr = scoreStr;
    }
}
